package org.zizi.db.tool.impl;

import java.util.Collection;

import org.zizi.db.tool.AbstractEasySqlTool;

public class OracleEasySqlTool extends AbstractEasySqlTool
{
	public Object strings(Collection<String> ss)
	{
		String[] a = new String[ss.size()];

		int i = 0;
		for (String s : ss)
		{
			a[i++] = s;
		}

		return a;
	}

	public Object longs(Collection<Long> ll)
	{
		long[] a = new long[ll.size()];

		int i = 0;
		for (long l : ll)
		{
			a[i++] = l;
		}

		return a;
	}

	public Object integers(Collection<Integer> ii)
	{
		int[] a = new int[ii.size()];

		int i = 0;
		for (int x : ii)
		{
			a[i++] = x;
		}

		return a;
	}
}
